

#  while 循环 打印 1 - 10
num = 1
while num <= 10:
    print(num)
    num += 1

# 计算 1- 100 的和
count = 0
num = 1
while num <= 100:
    count += num
    num += 1
print(count)

# 计算 5 的阶乘
res = 1
n = 1
while n <= 5:
    res *= n
    n +=1
    print(res)


